#ifndef __PAY_BOX_H__
#define __PAY_BOX_H__

//按钮输入
#define PAY_KEY_RESET			5
#define PAY_KEY_ON			34
#define PAY_KEY_ADD			39
#define PAY_KEY_MINUS			36
#define PAY_KEY_REFRESH			35


//LED输出
#define PAY_LED_RED			    4
#define PAY_LED_GREEN			33
#define PAY_LED_BLUE			13


//音频数字输出
#define PAY_AUDIO_SDATA			14
#define PAY_AUDIO_SCLK			26
#define PAY_AUDIO_LRCK			27
#define PAY_AUDIO_CLKIN			0
#define PAY_AUDIO_CTRL			2


//TFT输出
#define PAY_TFT_BAK			15
#define PAY_TFT_CS			22
#define PAY_TFT_MOSI			23
#define PAY_TFT_SCLK			19
#define PAY_TFT_DC			21
#define PAY_TFT_RST			18
#define PAY_TFT_MISO			25


#define CONFIG_HW_LCD_MISO_GPIO PAY_TFT_MISO
#define CONFIG_HW_LCD_MOSI_GPIO PAY_TFT_MOSI
#define CONFIG_HW_LCD_CLK_GPIO PAY_TFT_SCLK
#define CONFIG_HW_LCD_CS_GPIO PAY_TFT_CS
#define CONFIG_HW_LCD_DC_GPIO PAY_TFT_DC
#define CONFIG_HW_LCD_RESET_GPIO PAY_TFT_RST
#define CONFIG_HW_LCD_BL_GPIO PAY_TFT_BAK

#define CONFIG_SOUND_ENA 1
#define CONFIG_HW_INV_BL 1

#endif
